package com.code.monitor.service;

import com.code.monitor.model.MachineInfo;

import java.util.Collection;

public interface MachineService {
    void addMachineInfo(MachineInfo machineInfo);

    void delMachineInfo(String ip);

    Collection<MachineInfo> queryAllMachine();

    MachineInfo queryMachineByIP(String ip);
}
